package com.spring.beans.factory.config;

import com.spring.beans.factory.HierarchicalBeanFactory;
import com.spring.core.convert.ConversionService;
import com.spring.interfaces.BeanPostProcessor;
import com.spring.util.StringValueResolver;

/**
 * @Author: Asuka
 * @Description:
 * @create: 2025-04-14 16:06
 */


public interface ConfigurableBeanFactory extends HierarchicalBeanFactory,SingletonBeanRegistry {

    //beanPostProcessor
    void addBeanPostProcessor(BeanPostProcessor beanPostProcessor);

    //销毁单例bean
    void destroySingletons();

    void addEmbeddedValueResolver(StringValueResolver valueResolver);

    String resolveEmbeddedValue(String value);

    void setConversionService(ConversionService conversionService);

    ConversionService getConversionService();


}
